]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
objectManager: fix indentation
authorRay Strode <rstrode@redhat.com>
Thu, 22 Aug 2013 13:40:12 +0000 (09:40 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 22 Aug 2013 13:40:12 +0000 (09:40 -0400)
js/misc/objectManager.js

index f7265fe708abec2e627d2697b26bf09b187f3963..6998dd2e05c7cf343e1ed5bf78e91b0179cfbf66 100644 (file)
@@ -71,24 +71,24 @@ const ObjectManager = new Lang.Class({
     },
 
     _addInterface: function(objectPath, interfaceName, onFinished) {
-           let info = this._interfaceInfos[interfaceName];
+        let info = this._interfaceInfos[interfaceName];
 
-           if (!info) {
-               if (onFinished)
-                   onFinished();
-               return;
-           }
-
-           let proxy = new Gio.DBusProxy({ g_connection: this._connection,
-                                           g_name: this._serviceName,
-                                           g_object_path: objectPath,
-                                           g_interface_name: interfaceName,
-                                           g_interface_info: info,
-                                           g_flags: Gio.DBusProxyFlags.NONE });
-
-           proxy.init_async(GLib.PRIORITY_DEFAULT,
-                            this._cancellable,
-                            Lang.bind(this, function(initable, result) {
+        if (!info) {
+           if (onFinished)
+               onFinished();
+           return;
+        }
+
+        let proxy = new Gio.DBusProxy({ g_connection: this._connection,
+                                       g_name: this._serviceName,
+                                       g_object_path: objectPath,
+                                       g_interface_name: interfaceName,
+                                       g_interface_info: info,
+                                       g_flags: Gio.DBusProxyFlags.NONE });
+
+        proxy.init_async(GLib.PRIORITY_DEFAULT,
+                         this._cancellable,
+                         Lang.bind(this, function(initable, result) {
                let error = null;
                try {
                    initable.init_finish(result);